package com.fearless.crm.workbench.service;

import com.fearless.crm.vo.ContactPaginationVo;
import com.fearless.crm.workbench.entity.Contacts;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface ContactsService {


    List<Contacts> searchContactsByNameService(String cname);

    ContactPaginationVo getContactListService(Map map);

    List<Contacts> getContactListByCustomerId(String id);

    boolean deleteContactInCustomerDetail(String contactId);

    boolean saveContact(Map map);

    Map<String,Object> editContact(String id);

    boolean updateContact(Contacts contacts);

    boolean deleteContact(String[] ids);

    Contacts contactDetail(String id);
}
